package utils;

/**
 * @description:
 * @author: qian
 * @createDate: 2021/10/16
 */
public class Swap {

    public static void exchange(int[] arr, int i, int j) {

        int t = arr[i];
        arr[i] = arr[j];
        arr[j] = t;
    }
}
